package com.capgemini.teamtwo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.capgemini.teamtwo.entity.Dict;

import java.util.List;

public interface DictService extends IService<Dict> {

    //新增字典
    Integer  addDict(Dict dict,String username);


    //删除字典
    Integer deldeteDict(Integer dictId);


    //更新字典
   Dict updateDictById(Integer dictId, Dict dict,String username);


   //查询字典
    List<Dict> selectDict(String dictLable, String dictValue, String dictType, String dictName);


    //根据类型查询标签
    List<Dict> selectByName(String dictName);


}
